package com.account.service;

import com.account.ReturnT;
import com.account.model.AccountInfo;
import com.account.model.CorpAccountInfo;
import com.account.model.PersonAccountInfo;
import com.account.model.PlatformAccountInfo;

/**
 * 账户接口
 */
public interface AccountOpenService {
    /**
     * 开通企业账户
     *
     * @param corpAccountInfo
     * @return
     */
    ReturnT<AccountInfo> openCorpAccount(CorpAccountInfo corpAccountInfo);

    /**
     * 开通个人账户
     *
     * @param personAccountInfo
     * @return
     */
    ReturnT<AccountInfo> openPersonAccount(PersonAccountInfo personAccountInfo);

    /**
     * 开通平台账户
     *
     * @param platformAccountInfo
     * @return
     */
    ReturnT<AccountInfo> openPlatformAccount(PlatformAccountInfo platformAccountInfo);
}
